<%= header %>
<!--
The spa route change back to home is filtered and will trigger an xhr beacon instead
-->
<%= boomerangScript %>
<base href="/pages/05-angular/" />
<script src="../../vendor/angular/angular.js"></script>
<script src="../../vendor/angular-resource/angular-resource.js"></script>
<script src="../../vendor/angular-route/angular-route.js"></script>
<script>
window.angular_imgs = [3000];

window.angular_html5_mode = true;

// view a widget then come back so debugging (F5) is easier
window.angular_nav_routes = ["/widgets/1", "/24-route-filter.html"];

// filter out the 2nd home nav
var navs = 0;
window.angular_route_filter = function() {
	return (++navs) <= 1;
};

</script>
<script src="support/app.js"></script>
<div ng-app="app">
	<div ng-view>
	</div>
</div>
<script src="/test-templates/spa/24-route-filter.js" type="text/javascript"></script>
<script src="24-route-filter.js" type="text/javascript"></script>
<script>
BOOMR_test.init({
	testAfterOnBeacon: 3,
	Angular: {
		enabled: true
	},
	instrument_xhr: true,
	autorun: false
});
</script>
<%= footer %>
